<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>广告管理</title>
</head>
<link href="../../css/bootstrap.min.css" rel="stylesheet">
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<body>
<form style="margin-top: 150px" action="">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">添加</button>
<table class="table table-bordered table-hover"  style="margin-top: 20px">
    <tr>
        <td>广告图片</td>
        <td>广告路径</td>
        <td>时间</td>
        <td>编辑</td>
    </tr>
    <tr>
        <td>p.png</td>
        <td>水电费sdfs.html</td>
        <td>2019/09/23</td>
        <td><button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal1">修改</button>/<button type="button" class="btn btn-primary">删除</button></td>
    </tr>
</table>


</form>
<!--添加-->
<form role="form"action="">
   <!-- 模态框（Modal）-->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"style="margin-top: 200px">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        添加广告
                    </h4>
                </div>
                <div class="modal-body">

                    <div class="form-group">
                        <label >广告图片</label>
                        <input type="text" class="form-control" placeholder="广告图片" name="">
                    </div>
                    <div class="form-group">
                        <label >广告路径</label>
                        <input type="text" class="form-control" placeholder="广告路径" name="">
                    </div>
                    <div class="form-group">
                        <label>时间</label>
                        <input type="date"  placeholder="时间" name="">
                    </div>


                </div>
                <div class="modal-footer">

                    <button type="button" class="btn btn-primary">
                        添加
                    </button>
                </div>
            </div>
        </div>
    </div>
</form>
<!--修改-->
<form role="form" action="">
    <!-- 模态框（Modal）-->
    <div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"style="margin-top: 200px">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel1">
                        修改广告
                    </h4>
                </div>
                <div class="modal-body">

                    <div class="form-group">
                        <label >广告图片</label>
                        <input type="text" class="form-control" placeholder="广告图片" name="">
                    </div>
                    <div class="form-group">
                        <label >广告路径</label>
                        <input type="text" class="form-control" placeholder="广告路径" name="">
                    </div>
                    <div class="form-group">
                        <label>时间</label>
                        <input type="date"  placeholder="时间" name="">
                    </div>


                </div>
                <div class="modal-footer">

                    <button type="button" class="btn btn-primary">
                        修改
                    </button>
                </div>
            </div>
        </div>
    </div>
</form>
<ul class="pagination pagination-lg" style="margin-left: 600px">
    <li><a href="#">&laquo;</a></li>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
    <li><a href="#">&raquo;</a></li>
</ul>

</body>
</html>